<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<script type="text/javascript">
	$(function() {
		$("#form1").validate({
			rules : {
				'wk1' : {
					required : true
				},
				'wk1e' : {
					required : true
				},
				'wk2' : {
					required : true
				},
				'wk2e' : {
					required : true
				},
				'wk3' : {
					required : true
				},
				'wk3e' : {
					required : true
				},
				'wk4' : {
					required : true
				},
				'wk4e' : {
					required : true
				},
				'wk5' : {
					required : true
				},
				'wk5e' : {
					required : true
				},
				'wk6' : {
					required : true
				},
				'wk6e' : {
					required : true
				},
				'wk7' : {
					required : true
				},
				'wk7e' : {
					required : true
				}
			}
		});
	});
	function mySubmit() {
		var url = "${path}/ix/seal/workdate/edit.htm";
		$("#form1").attr("action", url);
		$("#form1").submit();
	}
</script>
<!-- 内容 -->
<div>
	<input type="hidden" name="mac_wktime_special_id"
		value="${mac_wktime_special._id}">
	<h2>
		<div>印控仪工作时间修改</div>
	</h2>
	<table width="100%" class="lindex">
		<tr>
			<th align="right">机构:</th>
			<td align="left" colspan="3"><input
				value="${bank.name }(${bank.code })" readonly="readonly" type="text"
				maxlength="100" /></td>
		</tr>
		<tr>
			<th align="right">周一时间设置:</th>
			<td align="left"><input name="wk1"
				value="${mac_wktime_special.wk1}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate" /> -----<input name="wk1e"
				value="${mac_wktime_special.wk1e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate">
		</tr>
		<tr>
			<th align="right">周二时间设置:</th>
			<td align="left" colspan="3"><input name="wk2"
				value="${mac_wktime_special.wk2}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"> -----<input name="wk2e"
				value="${mac_wktime_special.wk2e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"></td>
		</tr>

		<tr>
			<th align="right">周三时间设置:</th>
			<td align="left"><input name="wk3"
				value="${mac_wktime_special.wk3}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"> -----<input name="wk3e"
				value="${mac_wktime_special.wk3e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"></td>
		</tr>
		<tr>
			<th align="right">周四时间设置:</th>
			<td align="left"><input name="wk4"
				value="${mac_wktime_special.wk4}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"> -----<input name="wk4e"
				value="${mac_wktime_special.wk4e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"></td>
		</tr>
		<tr>
			<th align="right">周五时间设置:</th>
			<td align="left" colspan="3"><input name="wk5"
				value="${mac_wktime_special.wk5}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"> -----<input name="wk5e"
				value="${mac_wktime_special.wk5e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"></td>
		</tr>
		<tr>
			<th align="right">周六时间设置:</th>
			<td align="left"><input name="wk6"
				value="${mac_wktime_special.wk6}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"> -----<input name="wk6e"
				value="${mac_wktime_special.wk6e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"></td>
		</tr>
		<tr>
			<th align="right">周日时间设置:</th>
			<td align="left"><input name="wk7"
				value="${mac_wktime_special.wk7}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"> -----<input name="wk7e"
				value="${mac_wktime_special.wk7e}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate"></td>
		</tr>

	</table>
	<div class="options">
		<a href="javascript:mySubmit();" class="asave"> 【保存】 </a> <a
			href="${path }/ix/seal/workdate/list.htm" class="aback"> 【返回】 </a>
	</div>
</div>
